import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    city:''
  },
  mutations: {
    HANDLECLICK(state, value){
      state.city= value
    }
  },
  actions: {
    handleclick(ctx,value){
      ctx.commit('HANDLECLICK', value)
    }
  },
})
